package com.xjgc.msibase.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xjgc.msibase.entity.MsiExoSystemServer;
import com.xjgc.msibase.mapper.MsiExoSystemServerMapper;
import com.xjgc.msibase.service.IMsiExoSystemServerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 外围系统接口服务注册
 * @Author: 小逗号
 * @Date: 2023-10-30
 * @Version: V1.0
 */
@Service
public class MsiExoSystemServerServiceImpl
        extends ServiceImpl<MsiExoSystemServerMapper, MsiExoSystemServer>
        implements IMsiExoSystemServerService {
    @Override
    public List<MsiExoSystemServer> selectByMainId(String mainId) {
        return list(new LambdaQueryWrapper<MsiExoSystemServer>().eq(MsiExoSystemServer::getExoSystemId,mainId));
    }


}
